package com.suyang.syt.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.suyang.syt.dao.interfaces.BugReplyDao;
import com.suyang.syt.model.BugReply;

@Repository
public class BugReplyDaoImpl extends BaseDaoImpl<BugReply> implements BugReplyDao {

	@Override
	public List<BugReply> findByIds(String ids) throws Exception {
		return this.list("from BugReply where bid in (" + ids + ")");
	}

	@Override
	public void deleteByIds(String ids) throws Exception {
		this.executeByHql("delete BugReply where bid in(" + ids + ")");
	}
	
}